package org.lanqiao.music.system.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.lanqiao.music.system.entity.Comment;

import java.util.List;

@Mapper
public interface CommentDao {

    List<Comment> getComment(Integer musicId);
    int save(Comment comment);
    int deleteById(@Param("musicId") Integer musicId, @Param("id") Integer id);
}
